Skip to content

fix(plugins/container): avoid possible nil ptr dereference in cri and containerd engines#826

Merged
poiana merged 1 commit intofalcosecurity:mainfrom
FedeDP:fix/cri_containerd_nil_event
Jun 5, 2025
Merged

fix(plugins/container): avoid possible nil ptr dereference in cri and containerd engines#826
poiana merged 1 commit intofalcosecurity:mainfrom
FedeDP:fix/cri_containerd_nil_event

Conversation

@FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Jun 5, 2025

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area plugins

What this PR does / why we need it:

CRI and Containerd listeners actually push pointers to events; we need to check for evt != nil before dereferencing it.

Which issue(s) this PR fixes:

See falcosecurity/falco#3601

Fixes #

Special notes for your reviewer:

… containerd engines.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@github-actions
Copy link

github-actions bot commented Jun 5, 2025

Rules files suggestions

@poiana poiana added the lgtm label Jun 5, 2025
@poiana
Copy link
Contributor

poiana commented Jun 5, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana added the approved label Jun 5, 2025
@poiana poiana merged commit 5fcee14 into falcosecurity:main Jun 5, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants